package com.kangyi.dto;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * @author Blank
 * @version 1.0
 */
@Data
@ApiModel(value = "养老院分页查询传回数据")
public class NursingHomePageQueryDTO implements Serializable {
    @ApiModelProperty("页码")
    private int page;
    @ApiModelProperty("数量")
    private int pageSize;
    @ApiModelProperty("养老院名称")
    private String name;
    @ApiModelProperty("地区id")
    private Integer regionId;
    @ApiModelProperty("低价")
    private Integer lowerPrice;
    @ApiModelProperty("高价")
    private Integer highPrice;
    @ApiModelProperty("评分")
    private BigDecimal rating;
    @ApiModelProperty("机构id")
    private Integer organization;
    @ApiModelProperty("排序字段（createTime: 创建时间, lowRoomPrice: 价格, rating: 评分）")
    private String sortField;
    @ApiModelProperty("排序方式（asc: 升序, desc: 降序）")
    private String sortOrder;
}